<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <link th:replace="common/tip"/>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-list"></em>球队常规赛报分列表</h3>
            <div th:if="${(session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3') && session.sjInfo.sjzt.text == '常规赛'}">
                <div class="row-fluid" th:if="${null == footBfinfoList || #lists.size(footBfinfoList) <= 0}">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span12">
                        <span th:text="'暂时没有' + ${session.footUser.nike} + '的常规赛报分信息'">123</span>
                    </div>
                </div>
                <form class="form-horizontal" th:object="${footBfinfoSearchForm}" method="post"
                      th:action="@{/hy/footBfinfo/search(type=1)}" name="form"
                      th:if="${null != footBfinfoList && #lists.size(footBfinfoList) > 0}">
                    <input type="hidden" name="bflx" th:field="*{bflx}"/>
                    <input type="hidden" name="bfqd" th:field="*{bfqd}"/>
                    <div class="row-fluid">
                        <!--PAGE CONTENT BEGINS HERE-->
                        <div class="span2">
                            <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                        </div>
                        <div class="span10">
                            <table style="width:100%" border="0">
                                <tbody>
                                <tr>
                                    <th style="width: 80px;">玩家:</th>
                                    <td style="width: auto;"><input th:field="*{qdName}" type="text" name="qdName"
                                                                    class="input_fix" placeholder="玩家"/></td>
                                    <th style="width: 120px;">报分状态:</th>
                                    <td style="width: auto;">
                                        <select th:field="*{bfzt}" id="bfzt" name="bfzt" class="input_fix" title="">
                                            <option value="">全部</option>
                                            <option th:each="bfzt : ${T(org.footballmanager.pandafootball.system.domain.enums.BFZT).values()}"
                                                    th:value="${bfzt}" th:text="${bfzt.text}">123
                                            </option>
                                        </select>
                                    </td>
                                    <td style="width:120px;">
                                        <button class="btn btn-info" style="float: right;" type="button"
                                                onclick="pagechange(1);"><em class="icon-search"></em>查询
                                        </button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="row-fluid">
                        <div class="span7">
                            <div class="row-fluid">
                                <h3 class="header smaller lighter blue"><em class="icon-list"></em>球队
                                    <select th:field="*{sj}" name="sj" title="" onchange="pagechange(1);">
                                        <option th:each="t:${sjList}" th:text="${t.sjbm}" th:value="${t.id}">123
                                        </option>
                                    </select>赛季常规赛报分列表
                                </h3>
                            </div>
                            <div class="row-fluid" th:if="${footBfinfoList != null}">
                                <div class="span12">
                                    <div class="row-fluid"
                                         th:each="row, index:${#numbers.sequence(0,(#lists.size(footBfinfoList) / 5 + 1))}">
                                        <div class="span1">&nbsp;</div>
                                        <div class="span2" th:if="${#lists.size(footBfinfoList) > (0+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${footBfinfoList[0+row*5].id})}"
                                               th:style="${footBfinfoList[0+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${footBfinfoList[0+row*5].qd1Name + footBfinfoList[0+row*5].jq1 + ':' + footBfinfoList[0+row*5].jq2 + footBfinfoList[0+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(footBfinfoList) > (1+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${footBfinfoList[1+row*5].id})}"
                                               th:style="${footBfinfoList[1+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${footBfinfoList[1+row*5].qd1Name + footBfinfoList[1+row*5].jq1 + ':' + footBfinfoList[1+row*5].jq2 + footBfinfoList[1+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(footBfinfoList) > (2+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${footBfinfoList[2+row*5].id})}"
                                               th:style="${footBfinfoList[2+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${footBfinfoList[2+row*5].qd1Name + footBfinfoList[2+row*5].jq1 + ':' + footBfinfoList[2+row*5].jq2 + footBfinfoList[2+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(footBfinfoList) > (3+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${footBfinfoList[3].id})}"
                                               th:style="${footBfinfoList[3+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${footBfinfoList[3+row*5].qd1Name + footBfinfoList[3+row*5].jq1 + ':' + footBfinfoList[3+row*5].jq2 + footBfinfoList[3+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(footBfinfoList) > (4+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${footBfinfoList[4+row*5].id})}"
                                               th:style="${footBfinfoList[4+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${footBfinfoList[4+row*5].qd1Name + footBfinfoList[4+row*5].jq1 + ':' + footBfinfoList[4+row*5].jq2 + footBfinfoList[4+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span1">&nbsp;</div>
                                    </div>
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="row-fluid" th:include="common/page :: page"></div>
                            </div>
                        </div>
                        <div class="span5">
                            <div class="row-fluid">
                                <h3 class="header smaller lighter blue"><em class="icon-list"></em>球队上赛季常规赛报分列表</h3>
                            </div>
                            <div class="row-fluid" th:if="${lastFootBfinfoList != null}">
                                <div class="span12">
                                    <div class="row-fluid"
                                         th:each="row, index:${#numbers.sequence(0,(#lists.size(lastFootBfinfoList) / 5 + 1))}">
                                        <div class="span1">&nbsp;</div>
                                        <div class="span2" th:if="${#lists.size(lastFootBfinfoList) > (0+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${lastFootBfinfoList[0+row*5].id})}"
                                               th:style="${lastFootBfinfoList[0+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${lastFootBfinfoList[0+row*5].qd1Name + lastFootBfinfoList[0+row*5].jq1 + ':' + lastFootBfinfoList[0+row*5].jq2 + lastFootBfinfoList[0+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(lastFootBfinfoList) > (1+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${lastFootBfinfoList[1+row*5].id})}"
                                               th:style="${lastFootBfinfoList[1+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${lastFootBfinfoList[1+row*5].qd1Name + lastFootBfinfoList[1+row*5].jq1 + ':' + lastFootBfinfoList[1+row*5].jq2 + lastFootBfinfoList[1+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(lastFootBfinfoList) > (2+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${lastFootBfinfoList[2+row*5].id})}"
                                               th:style="${lastFootBfinfoList[2+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${lastFootBfinfoList[2+row*5].qd1Name + lastFootBfinfoList[2+row*5].jq1 + ':' + lastFootBfinfoList[2+row*5].jq2 + lastFootBfinfoList[2+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(lastFootBfinfoList) > (3+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${lastFootBfinfoList[3].id})}"
                                               th:style="${lastFootBfinfoList[3+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${lastFootBfinfoList[3+row*5].qd1Name + lastFootBfinfoList[3+row*5].jq1 + ':' + lastFootBfinfoList[3+row*5].jq2 + lastFootBfinfoList[3+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span2" th:if="${#lists.size(lastFootBfinfoList) > (4+row*5)}">
                                            <a th:href="@{/hy/footBfinfo/view(id=${lastFootBfinfoList[4+row*5].id})}"
                                               th:style="${lastFootBfinfoList[4+row*5].bfzt.value == 0 ? 'color: red' : 'color: white'}"
                                               th:text="${lastFootBfinfoList[4+row*5].qd1Name + lastFootBfinfoList[4+row*5].jq1 + ':' + lastFootBfinfoList[4+row*5].jq2 + lastFootBfinfoList[4+row*5].qd2Name}">123</a>
                                        </div>
                                        <div class="span1">&nbsp;</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div><!--/#main-content-->
</div><!--/.fluid-container#main-container-->
<div th:replace="common/jsList"></div>
</body>
</html>
